package cn.yunyichina.provider.pay.icbc.service;

import java.util.Properties;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.yunyichina.provider.pay.icbc.constant.IcbcTrade;
import cn.yunyichina.provider.pay.icbc.entity.IcbcPayConfig;


public class BaseService {

	protected IcbcPayConfig getConfig() {
		
		//TODO:根据KEY去数据库取对应的配置
		IcbcPayConfig icbcConfig=new IcbcPayConfig();
		icbcConfig.setInterfaceName("ICBC_WAPB_B2C");
		icbcConfig.setInterfaceVersion("1.0.0.6");
		icbcConfig.setInstallmentTimes(1);
		icbcConfig.setCurType("001");
		icbcConfig.setVerifyJoinFlag(0);
		icbcConfig.setLanguage("zh_CN");
		icbcConfig.setNotifyType("HS");
		icbcConfig.setResultType("0");
		
		return icbcConfig;
    }
}
